/**
 * The MIT License
 * <p>
 * Copyright (c) 2017
 */
package com.seelyn.flow.work;

/**
 * Report of work execution.
 *
 * @author slacrey  (237242115@qq.com)
 */
public interface WorkReport {

    /**
     * Get work execution status.
     * @return execution status
     */
    WorkStatus getStatus();

    /**
     * Get error if any.
     *
     * @return error
     */
    Throwable getError();

}
